package dal;

import java.io.*;
import org.jdom.*;
import org.jdom.input.*;

/**
 *
 * @author Jose Carlos Gutierrez
 */
public class Configuracion {

    private String dbHost;
    private String dbInstace;
    private String dbUser;
    private String dbPassword;
    private String dbName;
    private String dbEngine;
    private String dbPort;

    private static Configuracion config;

    private Configuracion() {
        ;
    }

    public static Configuracion getConfiguracion(){
        if(config == null)
            config = new Configuracion();
        return config;
    }

    public String getDbEngine() {
        return dbEngine;
    }

    public void setDbEngine(String dbEngine) {
        this.dbEngine = dbEngine;
    }

    public String getDbHost() {
        return dbHost;
    }

    public void setDbHost(String dbHost) {
        this.dbHost = dbHost;
    }

    public String getDbInstace() {
        return dbInstace;
    }

    public void setDbInstace(String dbInstace) {
        this.dbInstace = dbInstace;
    }

    public String getDbName() {
        return dbName;
    }

    public void setDbName(String dbName) {
        this.dbName = dbName;
    }

    public String getDbPassword() {
        return dbPassword;
    }

    public void setDbPassword(String dbPassword) {
        this.dbPassword = dbPassword;
    }

    public String getDbUser() {
        return dbUser;
    }

    public void setDbUser(String dbUser) {
        this.dbUser = dbUser;
    }

    public String getDbPort() {
        return dbPort;
    }

    public void setDbPort(String dbPort) {
        this.dbPort = dbPort;
    }
}
